import { PartialType, PickType } from "@nestjs/mapped-types";
import CreateDto from "./create.dto";
import { IsJSON, IsNumber, Min } from "class-validator";
import { SysConfigItem } from "@app/db/common/entity/SysConfigItem";

export default class UpdateItemDto {
    @Min(1)
    @IsNumber()
    id:number

    @IsJSON()
    config: {[key:string] : SysConfigItem}
}